#   Copyright (c) 2012 M.A. (Thijs) van den Berg, http://sitmo.com/
#
#   Use, modification and distribution are subject to the MIT Software License. 
#   (See accompanying file LICENSE.txt or copy at http://www.stdfin.org/LICENSE.txt)

cmake_minimum_required(VERSION 2.6)
set( CMAKE_BUILD_TYPE "Release" )

#set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvm.clang.1_0")
#set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++0x")
#set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
#SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -std=C++0x")
#ADD_DEFINITIONS("-std=c++0x") 
find_package( Boost )

include_directories( ${Boost_INCLUDE_DIR}  )
INCLUDE_DIRECTORIES(..)

add_executable( parallel_monte_carlo parallel_monte_carlo.cpp )
target_link_libraries( parallel_monte_carlo ${Boost_LIBRARIES})

add_executable( gbm_first_hitting_time gbm_first_hitting_time.cpp )
target_link_libraries( gbm_first_hitting_time ${Boost_LIBRARIES})

add_executable( gbm_at_fixed_time gbm_at_fixed_time.cpp )
target_link_libraries( gbm_at_fixed_time ${Boost_LIBRARIES})


add_executable( nintegrate nintegrate.cpp )
target_link_libraries( nintegrate ${Boost_LIBRARIES})
